package com.example.demo.util;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonView;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;

public class GetMessage {

    @JsonProperty("Msg")
    private String msg;

    @JsonProperty("Code")
    private String code;

    @JsonProperty("Data")
    private Object data;

    public GetMessage(String Msg, String Code, Object Data) {
        msg = Msg;
        code = Code;
        data = Data;
    }

    public String getMsg() {
        return msg;
    }

    public String getCode() {
        return code;
    }

    public Object getData() {
        return data;
    }
}
